package SingleInstance;

public class NewInstance3 {
    private static NewInstance3 newInstance3;

    private NewInstance3() {

    }

    public static synchronized NewInstance3 getInstance() {
        if (newInstance3 == null) {
            newInstance3 = new NewInstance3();
        }
        return newInstance3;
    }
}
